package my.test.facade;

/**
 * @Author 许玉康
 * @Date 2019/9/29 8:40
 */
public class Client {

    public static void main(String[] args) {
        //创建一个处理信件的过程
        ILetterProcess letterProcess = new LetterProcessImpl();
        //开始写信
        letterProcess.writeContext("Hello, I'd like to...");
        //开始写信封
        letterProcess.fillEnvelope("Happy Road No. 666,God Province ,Heaven");
        //把信放到信封里，并封装好
        letterProcess.letterInotoEnvelope();
        //跑到有距离把信塞到邮箱，投递
        letterProcess.sendLetter();
    }
}
